package com.heima.article;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author: wxw
 * @ClassName: ArticleApplication
 * @JdkVersion: JDK1.8
 * @Version: 1.0.0
 * @Since: 2025/2/6 15:37
 * @Description: 文章微服务启动类
 */
@SpringBootApplication
@EnableDiscoveryClient
@Slf4j
@EnableFeignClients
@MapperScan(basePackages = "com.heima.article.mapper")
public class ArticleApplication {

    public static void main(String[] args) {
        SpringApplication.run(ArticleApplication.class, args);
        log.info("文章微服务启动成功");
    }
}
